   
<?php echo $this->fetch('library/page_header.lbi'); ?>
  <link type="text/css" href="<?php echo $this->_var['shop_css_path']; ?>/css/lr.css" rel="stylesheet" />

  <div id="s_bdw">
    <div id="s_bd">
      <div class="dl_zc">
        <div class="dl_zc_title">
          <h2 class="f_l">注册新用户</h2>
          <div class="rt_bg f_r"></div>
        </div>
        <div class="dl-con" id="regist">
          <form action="user.php" method="post" name="formUser" onsubmit="return register();>
            <div class="form">
              <div class="tipinfo">填写账户信息，以下信息均为必填</div>
              <div class="item">
                <span class="label"><?php echo $this->_var['lang']['label_username']; ?></span>

                <div class="fl">
                  <input type="text" id="username" name="username" class="text" onblur="is_registered(this.value);" tabindex="1"/>
                   <span id="username_notice" style="color:#FF0000"> *</span>
                </div>
              </div>
              
              <div class="item">
                <span class="label">邮箱：</span>

                <div class="fl">
                  <input type="text" id="email" onblur="checkEmail(this.value);" name="email" class="text" tabindex="2"/>

                  <span id="email_notice" style="color:#FF0000"> *</span>

                </div>
              </div>
              
              <div id="o-password">
                <div class="item">

                  <span class="label">密码：</span>

                  <div class="fl">
                    <input type="password" id="password1" name="password" class="text" tabindex="3" onblur="check_password(this.value);" />
                  <span style="color:#FF0000" id="password_notice"> *</span>
                    <input type="checkbox" class="checkbox" id="viewpwd"/>
                    <label class="ftx23" for="viewpwd">显示密码字符</label>
                    <span class="clear"></span>

                    <label class="hide" id="pwdstrength"><span class="fl">安全程度：</span><b></b></label>
                    <label id="pwd_error"></label>
                  </div>
                </div>
                
                <div class="item">
                  <span class="label">确认密码：</span>

                  <div class="fl">
                    <input type="password" id="conform_password" name="confirm_password" onblur="check_conform_password(this.value);" class="text" tabindex="4"/>
                    <span style="color:#FF0000" id="conform_password_notice"> *</span>
                    <span class="clear"></span>
                    <label id="pwd2_error"></label>
                  </div>
                </div>
                
              </div>

              <div class="item">
                <span class="label">验证码：</span>

                <div class="fl">
                  <input type="text" id="authcode" name="captcha" class="text text-1" tabindex="5"
                       autocomplete="off" MaxLength="6"/>
                  <label class="img">
                    <img src="captcha.php?<?php echo $this->_var['rand']; ?>" alt="captcha" style="vertical-align: middle;cursor: pointer;" onClick="this.src='captcha.php?'+Math.random()" />
                  </label>

                  <label>&nbsp;看不清？点击验证码图片更换</label>
                  <label id="authcode_succeed" class="blank invisible"></label>
                  <span class="clear"></span>

                  <label id="authcode_error"></label>
                </div>
              </div>
              

              <div class="item">
                <span class="label">&nbsp;</span>

                <div class="fl">
                   <input name="agreement" type="checkbox" value="1" checked="checked" />
            <?php echo $this->_var['lang']['agreement']; ?></label><label class="blue" for="xieyi">自愿遵守1号店服务协议</label>
                </div>
              </div>
              

              <div class="item">
                <span class="label">&nbsp;</span>
                <input name="act" type="hidden" value="act_register" >
                <input type="hidden" name="back_act" value="<?php echo $this->_var['back_act']; ?>" />
                <input type="submit" name="Submit" class="btnimg" id="registsubmit" value=""
                     tabindex="8"/>
              </div>
              

            </div>
          </form>
        </div>
      </div>

  <?php echo $this->smarty_insert_scripts(array('files'=>'user.js')); ?>
  <?php echo $this->smarty_insert_scripts(array('files'=>'common.js,user.js,transport.js')); ?>
  <?php echo $this->smarty_insert_scripts(array('files'=>'utils.js')); ?>
      <!-- <script type="text/javascript" src="<?php echo $this->_var['shop_css_path']; ?>/js/Validate.js"></script>
      <script type="text/javascript" src="<?php echo $this->_var['shop_css_path']; ?>/js/Validate.personal.js"></script> -->

    </div>
  </div>
  
<?php echo $this->fetch('library/page_footer.lbi'); ?>
